package com.pkk.geer.rose.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "rose_speed_app")
public class RoseSpeedAppEntity implements Serializable {

  private static final long serialVersionUID = -7203205223800896687L;


  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  /**
   * 应用描述
   */
  @TableField(value = "app_desc")
  private String appDesc;

  /**
   * 应用密钥
   */
  @TableField(value = "app_key")
  private String appKey;

  /**
   * 接口地址
   */
  @TableField(value = "app_url")
  private String appUrl;

  /**
   * 1:启用,0:废用
   */
  @TableField(value = "disable")
  private Integer disable;

  /**
   * 1:get,2:post
   */
  @TableField(value = "handle_type")
  private Integer handleType;


  /**
   * 请求参数
   */
  @TableField(value = "req_param")
  private String reqParam;

  /**
   * 请求值-和请求参数对应,参数用逗号隔开,有序
   */
  @TableField(value = "req_value")
  private String reqValue;

  /**
   * 创建时间
   */
  @TableField(value = "create_time")
  private Date createTime;

  /**
   * 更新时间
   */
  @TableField(value = "update_time")
  private Date updateTime;
}